#ifndef WF_SELECTLAYER_H
#define WF_SELECTLAYER_H

#include "pf_actioninterface.h"
#include "gui_export.h"

/**
 * This action class can handle user events to select contours.
 *
 */
class GUI_EXPORT WF_SelectLayer : public PF_ActionInterface {
	Q_OBJECT
public:
    WF_SelectLayer(PF_Container& container,
                          PF_GraphicView& graphicView);
    ~WF_SelectLayer() {}

	static QAction* createGUIAction(LX_Define::ActionType /*type*/, QObject* /*parent*/);

	virtual LX_Define::ActionType rtti() {
		return LX_Define::ActionSelectLayer;
	}

    virtual void trigger();
    virtual void mouseReleaseEvent(PF_MouseEvent* e);
    virtual void updateMouseCursor();

private:
    PF_Entity* en;
};

#endif
